const serviceDao = require("../dao/serviceDao.js")

const get = async function () {
    return await serviceDao.get()
}
const add = async function (parameter) {
    return await serviceDao.add(parameter)
}
const remove = async function (_id) {
    return await serviceDao.remove(_id)
}
const update = async function (_id, parameter) {
    return await serviceDao.update(_id, parameter)
}
module.exports = { get, add, remove, update }